﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace THL.DataAccess.Models
{
    public class HQRecord
    {
        public Int32 Id { get; set; }
        public Int32 Stock_Id { get; set; }
        public Decimal DRSP { get; set; }
        public Double ZDF { get; set; }
        public DateTime Date { get; set; }
    }
    public class StockRecord
    {
        public virtual Int32 Id { get; set; }
        /// <summary>
        /// 证券名称
        /// </summary>
        public virtual string ZQMC { get; set; }
        /// <summary>
        /// 证券代码
        /// </summary>
        public virtual string ZQDM { get; set; }
        /// <summary>
        /// 市场代码
        /// </summary>
        public virtual string SCDM { get; set; }
    }

    public class ZiJingLiuXiangRecord
    {
        public ZiJingLiuXiangRecord()
        {
            //ExtraLarge_JingLiuRu_Unit = Large_JingLiuRu_Unit = Medium_JingLiuRu_Unit = Small_JingLiuRu_Unit = ZhuLi_JingLiuRu_Unit = "万";
        }
        public virtual Int32 Id { get; set; }
        public virtual Int32 Stock_Id { get; set; }
        public virtual DateTime Date { get; set; }
        public virtual Decimal DRSP { get; set; }
        public virtual Double ZDF { get; set; }
        /// <summary>
        /// 主力净流入
        /// </summary>
        public virtual decimal ZhuLi_JingLiuRu { get; set; }
        //public virtual string ZhuLi_JingLiuRu_Unit { get; set; }
        /// <summary>
        /// 超大单净流入
        /// </summary>
        public virtual decimal ExtraLarge_JingLiuRu { get; set; }
        //public virtual string ExtraLarge_JingLiuRu_Unit { get; set; }
        /// <summary>
        /// 大单净流入
        /// </summary>
        public virtual decimal Large_JingLiuRu { get; set; }
        //public virtual string Large_JingLiuRu_Unit { get; set; }
        /// <summary>
        /// 中单净流入
        /// </summary>
        public virtual decimal Medium_JingLiuRu { get; set; }
        //public virtual string Medium_JingLiuRu_Unit { get; set; }
        /// <summary>
        /// 小单净流入
        /// </summary>
        public virtual decimal Small_JingLiuRu { get; set; }
        //public virtual string Small_JingLiuRu_Unit { get; set; }
        /// <summary>
        /// 主力净占比
        /// </summary>
        public virtual double ZhuLi_JingZhanBi { get; set; }
        /// <summary>
        /// 超大单净占比
        /// </summary>
        public virtual double ExtraLarge_JingZhanBi { get; set; }
        /// <summary>
        /// 大单净占比
        /// </summary>
        public virtual double Large_JingZhanBi { get; set; }
        /// <summary>
        /// 中单净占比
        /// </summary>
        public virtual double Medium_JingZhanBi { get; set; }
        /// <summary>
        /// 小单净占比
        /// </summary>
        public virtual double Small_JingZhanBi { get; set; }
        public virtual String OriginalData { get; set; }
    }
}
